home *** CD-ROM | disk | FTP | other *** search
- Short: Library to ctrl the MC68K MMUs, early alpha
- Author: thor@math.tu-berlin.de (Thomas Richter)
- Uploader: thor@math.tu-berlin.de (Thomas Richter)
- Version: 0.02
- Type: util/libs
- Requires: Os 2.04
-
- -----------------------------------------------------------------------------
-
- Bugs fixed:
-
- -Due to a typo in the 68040/68060 startup code, the translation
- control register wasn't written to the right place, leading mis-
- interpretations of the library.
- -The 68040 specific part did not call the 68040 table scanner, but
- the 68060 stuff.
- -The library clean up code did not fill in the translation control
- register correctly for the 68040 and 68060.
- -The library did not accept "exotic" transparent translation
- settings. Unfortunately, these are not as uncommon as I believed.
- Some boards seem to translate a part of the memory transparently
- for read access only. I've no idea what this might be good for.
- But anyways, the memory regions transparently translated are now
- "mapped out" by the mmu.library and marked as unusable for
- further manipulation. This means specifically that a huge part of
- the available address space may be unavailable for virtual addresses.
- A future version of the libray may re-introduce the integration of
- the TTx registers into the mmu table, but up to then I don't like
- to risk anything.
-
- -----------------------------------------------------------------------------
- Warning: This is "work in progress", it's by no means complete.
-
- I'm in the urge need for testers and co-authors. Especially MC68040 and
- MC68060 systems are very welcome for testing.
-
- Please check the "ReadMe" in the archive for details how to contact me.
- -----------------------------------------------------------------------------
-
- Purpose and goal of this library:
-
- The mmu.library is a planned basis for MMU (memory management) related
- functions the MC68K family can perform. Up to now certain hacks are available
- that program the MMU themselves (Enforcer,CyberGuard,GuardianAngle,SetCPU,
- Shapeshifter,VMM,GigaMem...).
- It's therefore not unexpected that these tools conflict with each other.
- There's up to now no Os support for the MMU at all - the gap this mmu.library
- is planned to fill.
-
- The goal is to provide a basis of functions to address and program the MMU in
- a hardware independent, Os friendly fashion. Hence, a future version of the
- Enforcer will work together with virtual memory, and others.
-
- The mmu.library is also the basis for a virtual memory project, the
- memory.library. Even though the mmu.library does not provide virtual memory
- itself, it builds the basics to allow an easy implementation and to avoid the
- hacks required by other implementations so far.
-
- For the design details of the mmu.library, consider reading the autodocs in
- this archive. Everything is still VERY preliminary, there's still room for
- changes and suggestions.
-
- ------------------------------------------------------------------------------
-
- This distribution contains the full sources written so far, the documentation
- and some C sample sources how to use the library, as well as the includes
- and autodocs written so far. Check the ReadMe for details. Even if you're not
- a developer, you could help me a lot by running a test program on your
- computer and sending me the results. Just "CD" into the unpacked archive
- and enter "MMUScan" and "PrintTTx", and send me the results. That's up to
- now all.
-
- ------------------------------------------------------------------------------
- The mmu.library development group:
-
- This is a loose, non-commercial group of developers that support the
- mmu.library by their work. If you want to join, I'll setup a mailing list
- for the interested.
-
- ------------------------------------------------------------------------------
-
- The THOR-Software Licence (v2, 24th June 1998)
-
-
- This License applies to the computer programs known as the "mmu.library"
- and its sources. The "Program", below, refers to such program. The
- "Archive" refers to the package of distribution, as prepared by the author
- of the Program, Thomas Richter. Each licensee is addressed as "you".
-
-
-
- The Program and the data in the archive are freely distributable
- under the restrictions stated below, but are also Copyright (c)
- Thomas Richter.
-
- Distribution of the Program, the Archive and the data in the Archive by a
- commercial organization without written permission from the author to any
- third party is prohibited if any payment is made in connection with such
- distribution, whether directly (as in payment for a copy of the Program) or
- indirectly (as in payment for some service related to the Program, or
- payment for some product or service that includes a copy of the Program
- "without charge"; these are only examples, and not an exhaustive enumeration
- of prohibited activities).
-
-
- However, the following methods of distribution
- involving payment shall not in and of themselves be a violation of this
- restriction:
-
-
- (i) Posting the Program on a public access information storage and
- retrieval service for which a fee is received for retrieving information
- (such as an on-line service), provided that the fee is not
- content-dependent (i.e., the fee would be the same for retrieving the same
- volume of information consisting of random data).
-
-
- (ii) Distributing the Program on a CD-ROM, provided that
-
- a) the Archive is reproduced entirely and verbatim on such CD-ROM, including
- especially this licence agreement;
-
- b) the CD-ROM is made available to the public for a nominal fee only,
-
- c) a copy of the CD is made available to the author for free except for
- shipment costs, and
-
- d) provided further that all information on such CD-ROM is redistributable
- for non-commercial purposes without charge.
-
-
- Redistribution of a modified version of the Archive, the Program or the
- contents of the Archive is prohibited in any way, by any organization,
- regardless whether commercial or non-commercial. Everything must be kept
- together, in original and unmodified form.
-
-
-
-
- Limitations.
-
-
- THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO
- WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
- PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
- RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
- THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
- SERVICING, REPAIR OR CORRECTION.
-
-
- IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE
- AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS
- LICENCE BY USING OR REDISTRIBUTING THE PROGRAM.
-
-
- Thomas Richter
-
- -----------------------------------------------------------------------------
-
- So long,
- Thomas (September 1998)
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 4439 1358 69.4% 13-Sep-98 12:20:32 +dos_lib.asm
- 2401 989 58.8% 13-Sep-98 12:20:32 +exec_lib.asm
- 660 233 64.6% 13-Sep-98 12:20:36 +expansion_lib.asm
- 3201 1331 58.4% 13-Sep-98 12:20:32 +graphics_lib.asm
- 19336 4605 76.1% 13-Sep-98 12:22:10 +Macros.asm
- 750 350 53.3% 13-Sep-98 12:20:36 +utility_lib.asm
- 10094 4055 59.8% 28-Jun-98 15:21:52 +implementation
- 14841 4911 66.9% 05-Jul-98 12:36:20 +memory.doc
- 26355 8478 67.8% 30-Aug-98 13:15:54 +mmu.doc
- 6474 1614 75.0% 19-Sep-98 12:03:10 +MMUScan.c
- 1475 486 67.0% 12-Sep-98 21:21:40 +mmu_protos.h
- 1871 611 67.3% 19-Sep-98 11:38:12 +alerts.h
- 2021 636 68.5% 19-Sep-98 11:38:10 +config.h
- 1651 571 65.4% 19-Sep-98 11:38:10 +config.h.bak
- 4327 1637 62.1% 19-Sep-98 11:38:10 +context.h
- 4155 1569 62.2% 19-Sep-98 11:38:10 +context.h.bak
- 1651 571 65.4% 19-Sep-98 11:38:10 +mmubase.h
- 1342 454 66.1% 19-Sep-98 11:38:10 +mmubase.h.bak
- 549 263 52.0% 12-Sep-98 21:20:32 +mmu_lib.fd
- 1007 346 65.6% 12-Sep-98 21:28:20 +mmu_pragmas.h
- 141 106 24.8% 06-Sep-98 13:37:58 +mmu.h
- 165 116 29.6% 06-Sep-98 13:37:52 +mmu.h.bak
- 1396 449 67.8% 13-Sep-98 12:19:14 +MakeFile
- 8857 2084 76.4% 19-Sep-98 11:37:28 +mu_030.a
- 752 500 33.5% 19-Sep-98 11:37:28 +mu_030.o
- 8745 2045 76.6% 19-Sep-98 11:37:28 +mu_040.a
- 12588 3038 75.8% 15-Sep-98 19:16:28 +mu_040.a.bak
- 772 501 35.1% 19-Sep-98 11:37:28 +mu_040.o
- 8771 2086 76.2% 19-Sep-98 11:37:28 +mu_060.a
- 12624 3069 75.6% 15-Sep-98 19:16:26 +mu_060.a.bak
- 760 496 34.7% 19-Sep-98 11:37:28 +mu_060.o
- 7686 1880 75.5% 19-Sep-98 11:37:28 +mu_851.a
- 576 392 31.9% 19-Sep-98 11:37:28 +mu_851.o
- 2174 672 69.0% 19-Sep-98 11:37:24 +mu_alerts.i
- 1615 455 71.8% 19-Sep-98 11:37:24 +mu_alerts.i.bak
- 20388 4544 77.7% 19-Sep-98 11:37:26 +mu_context.asm
- 5890 1688 71.3% 19-Sep-98 11:37:28 +mu_context.i
- 1844 1122 39.1% 19-Sep-98 11:37:26 +mu_context.o
- 9134 1783 80.4% 19-Sep-98 11:37:26 +mu_detect.a
- 4670 1370 70.6% 19-Sep-98 11:37:26 +mu_detect.a.bak
- 636 391 38.5% 19-Sep-98 11:37:26 +mu_detect.o
- 18370 4239 76.9% 19-Sep-98 11:37:24 +mu_lib.asm
- 10241 2608 74.5% 19-Sep-98 11:37:24 +mu_lib.asm.bak
- 9388 2639 71.8% 19-Sep-98 11:37:24 +mu_lib.i
- 6279 1881 70.0% 19-Sep-98 11:37:24 +mu_lib.i.bak
- 2160 1219 43.5% 19-Sep-98 11:37:26 +mu_lib.o
- 3941 1124 71.4% 19-Sep-98 11:37:26 +mu_loadlib.asm
- 428 293 31.5% 19-Sep-98 11:37:26 +mu_loadlib.o
- 11623 2950 74.6% 19-Sep-98 11:37:28 +mu_parse030.asm
- 696 551 20.8% 19-Sep-98 11:37:28 +mu_parse030.o
- 7385 2148 70.9% 19-Sep-98 11:37:26 +mu_parse040.asm
- 444 383 13.7% 19-Sep-98 11:37:28 +mu_parse040.o
- 7403 2159 70.8% 19-Sep-98 11:37:28 +mu_parse060.asm
- 444 383 13.7% 19-Sep-98 11:37:28 +mu_parse060.o
- 12718 2989 76.4% 19-Sep-98 11:37:26 +mu_pool.asm
- 996 665 33.2% 19-Sep-98 11:37:26 +mu_pool.o
- 4979 1409 71.7% 19-Sep-98 11:37:26 +mu_service.asm
- 4106 1183 71.1% 19-Sep-98 11:37:26 +mu_service.asm.bak
- 348 273 21.5% 19-Sep-98 11:37:26 +mu_service.o
- 1684 489 70.9% 19-Sep-98 11:37:24 +mu_version.i
- 273 207 24.1% 13-Sep-98 12:19:14 +Project-Startup
- 80 65 18.7% 13-Sep-98 12:19:16 +Shell-Startup2
- 8148 4288 47.3% 19-Sep-98 11:37:44 +mmu.library
- 6875 2964 56.8% 20-Sep-98 20:01:58 +mmulib.readme
- 15876 8440 46.8% 19-Sep-98 12:03:02 +MMUScan
- 728 426 41.4% 17-Sep-98 21:43:20 +PrintTTX
- 16254 6457 60.2% 20-Sep-98 19:59:52 +ReadMe
- -------- ------- ----- --------- --------
- 370651 116287 68.6% 22-Sep-98 22:50:42 67 files
-